package com.zat.mes.andrmes

import android.app.Application
import android.content.Context
import com.tencent.bugly.crashreport.CrashReport

/**
 * @author zy
 * @date :2020-02-05 13:36
 * @description:
 */
class BaseApplication : Application() {

    companion object {
        lateinit var appContext: Application
        fun getContext(): Context {
            return appContext
        }

    }

    override fun onCreate() {
        super.onCreate()
        appContext = this
        CrashReport.initCrashReport(appContext, "37e28002c4", true);
    }
}